package com.feishu.service.impl;


import com.feishu.mapper.FeiShuCommonMapper;
import com.feishu.service.FeiShuCommonService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class FeiShuCommonServiceImpl implements FeiShuCommonService {
    @Resource
    FeiShuCommonMapper feiShuCommonMapper;

    @Override
    public List<Map<String, Object>> getFeiShuGroupId(String deploymentId) {
        return feiShuCommonMapper.getFeiShuGroupId(deploymentId);
    }

    @Override
    public List<Map<String, Object>> getFeiShuApprovalCode(Map<String,Object> map) {
        return feiShuCommonMapper.getFeiShuApprovalCode(map);
    }

    @Override
    public int insertFeiShuApprovalCode(Map<String, Object> map) {
        return feiShuCommonMapper.insertFeiShuApprovalCode(map);
    }

    @Override
    public int updateFeiShuApprovalCode(Map<String, Object> map) {
        return feiShuCommonMapper.updateFeiShuApprovalCode(map);
    }

    @Override
    public int updateFeiShuApprovalCodeTask(Map<String, Object> map) {
        return feiShuCommonMapper.updateFeiShuApprovalCodeTask(map);
    }

    @Override
    public int updateFeiShuApprovalCodeApproval(Map<String, Object> map) {
        return feiShuCommonMapper.updateFeiShuApprovalCodeApproval(map);
    }

    @Override
    public List<Map<String, Object>> selectFiguration(Map<String, Object> map) {
        return feiShuCommonMapper.selectFiguration(map);
    }

    @Override
    public Integer saveFiguration(Map<String, String> map) {
        return feiShuCommonMapper.saveFiguration(map);
    }

    @Override
    public Integer updateFiguration(Map<String, String> map) {
        return feiShuCommonMapper.updateFiguration(map);
    }

    @Override
    public List<Map<String, Object>> getConfigurationType(Map<String, Object> map) {
        return feiShuCommonMapper.getConfigurationType(map);
    }

    @Override
    public Integer add(Map<String, Object> map) {
        return feiShuCommonMapper.add(map);
    }

    @Override
    public List<Map<String, Object>> getSettingList(Map<String, Object> map) {
        return feiShuCommonMapper.getSettingList(map);
    }

    @Override
    public Integer edit(Map<String, Object> map) {
        return feiShuCommonMapper.edit(map);
    }

    @Override
    public Integer deleteSetting(Map<String, Object> map) {
        return feiShuCommonMapper.deleteSetting(map);
    }
}
